package com.kyzh.core.adapters

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.gushenge.core.beans.MeNav
import com.kyzh.core.R

class SafetyAdapter(layout:Int,beans:ArrayList<MeNav>):BaseQuickAdapter<MeNav,BaseViewHolder>(layout,beans) {
    override fun convert(helper: BaseViewHolder, item: MeNav) {
        item?.let {
            helper.setText(R.id.name,it.name)
                    .setText(R.id.state,it.status)
        }
    }
}